package cn.ronghuanet.user.mapper;

import cn.ronghuanet.user.domain.Logininfo;
import cn.ronghuanet.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lijie
 * @since 2023-08-25
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo loadByAccount(@Param("account") String account,@Param("type") Integer type);

    Logininfo loadByUserId(Long userId);
}
